import React, { PureComponent } from 'react';
import { Link } from 'umi';
import './index.less';

export default class Publish extends PureComponent {
  render():
    | React.ReactElement<any, string | React.JSXElementConstructor<any>>
    | string
    | number
    | {}
    | React.ReactNodeArray
    | React.ReactPortal
    | boolean
    | null
    | undefined {
    return (
      <div className={'publish-button'}>
        <Link style={{ color: 'white' }} to={'publish'}>
          发布
        </Link>
      </div>
    );
  }
}
